import request from "@/utils/request";

export function getUserInfo(token){
    return request({
        url:`/user/info/${token}`,
        method:'get'
    })
}

export function logOut(token){
    return request({
        url:`/user/logout`,
        method:'post',
        data:{
            token:token
        }
    })
}